package com.iwomy.envpro.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.sql.Time;
import java.time.LocalDateTime;

/**
 * 空气网格成员轨迹设置表
 *
 * @author pig
 * @date 2023-08-26 11:48:46
 */
@Data
@TableName("air_grid_member_trajectory_setting")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "空气网格成员轨迹设置表")
public class AirGridMemberTrajectorySettingEntity extends Model<AirGridMemberTrajectorySettingEntity> {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="ID")
    private Long id;

	/**
	* 网格成员唯一标识符
	*/
    @Schema(description="网格成员唯一标识符")
    private Long gridMemberId;

	/**
	* 站点名称
	*/
    @Schema(description="站点名称")
    private String siteName;

	/**
	* 开始时间
	*/
    @Schema(description="开始时间")
    private Time startTime;

	/**
	* 结束时间
	*/
    @Schema(description="结束时间")
    private Time endTime;

	/**
	* 停留时间
	*/
    @Schema(description="停留时间")
    private BigDecimal stayTime;

	/**
	* 误差范围
	*/
    @Schema(description="误差范围")
    private BigDecimal errorRange;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;
 
	/**
	* delFlag
	*/
    @TableLogic
		@TableField(fill = FieldFill.INSERT)
    @Schema(description="delFlag")
    private String delFlag;
}